package com.xmtlxx.wms.domain.vo;

import com.xmtlxx.common.annotation.ExcelDictFormat;
import com.xmtlxx.common.convert.ExcelDictConvert;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.xmtlxx.system.domain.SysOss;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;


/**
 * 看样记录视图对象 t_viewing
 *
 * @author xmtlxx
 * @date 2022-08-15
 */
@Data
@ApiModel("看样记录视图对象")
@ExcelIgnoreUnannotated
public class ViewingVo {

    private static final long serialVersionUID = 1L;

    /**
     * 记录ID
     */
    @ExcelProperty(value = "记录ID")
    @ApiModelProperty("记录ID")
    private String id;

    /**
     * 看样编号
     */
    @ExcelProperty(value = "看样编号")
    @ApiModelProperty("看样编号")
    private String viewingNo;

    /**
     * 申请部门ID
     */
    @ExcelProperty(value = "申请部门ID")
    @ApiModelProperty("申请部门ID")
    private Long deptId;

    /**
     * 申请人
     */
    @ExcelProperty(value = "申请人")
    @ApiModelProperty("申请人")
    private Long operator;

    /**
     * 申请日期
     */
    @ExcelProperty(value = "申请日期")
    @ApiModelProperty("申请日期")
    private Date applyDay;

    /**
     * 仓库ID
     */
    @ExcelProperty(value = "仓库ID")
    @ApiModelProperty("仓库ID")
    private String storeId;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "wms_view_status")
    @ApiModelProperty("状态")
    private String status;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    @ApiModelProperty("备注")
    private String memo;

    /**
     * 图片附件
     */
    @ExcelProperty(value = "图片附件")
    @ApiModelProperty("图片附件")
    private String pics;

    /**
     * 创建人
     */
    @ExcelProperty(value = "创建人")
    @ApiModelProperty("创建人")
    private String createBy;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    @ApiModelProperty("创建时间")
    private Date createTime;

    /**
     * 更新人
     */
    @ExcelProperty(value = "更新人")
    @ApiModelProperty("更新人")
    private String updateBy;

    /**
     * 更新时间
     */
    @ExcelProperty(value = "更新时间")
    @ApiModelProperty("更新时间")
    private Date updateTime;

    /**
     * 删除标识
     */
    @ExcelProperty(value = "删除标识", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_del_flag")
    @ApiModelProperty("删除标识")
    private String delFlag;

    private List<ViewingDtlVo> items;

    private List<SysOss> oss;

    private List<SysOss> itemsOss;

    /**
     * 中心受理人签字
     */
    private String centerSign;
    private Date centerTime;
    private String centerOssId;

    /**
     * 阅证人签字
     */
    private String signs;
    private Date signsTime;
    private String signOssId;


    private String deptName;

    private String nickName;

    private String storeName;


    /**
     * 联系人
     */
    @ApiModelProperty("联系人")
    private String name;
    /**
     * 联系电话
     */
    @ApiModelProperty("联系电话")
    private String tel;

    /**
     * 身份证号码
     */
    @ApiModelProperty("身份证号码")
    private String idCard;

    /**
     * 证件类型
     */
    @ApiModelProperty("证件类型")
    private String cardType;

    /**
     * 审核状态
     */
    @ApiModelProperty("审核状态")
    private String checkStatus;

    /**
     * 审核人
     */
    @ApiModelProperty("审核人")
    private String checker;

    /**
     * 审核时间
     */
    @ApiModelProperty("审核时间")
    private Date checkTime;

    private String submitType;

    private String propertyNames;

    private String storeUser;

    /**
     * 示证方式
     */
    @ApiModelProperty("示证方式")
    private String watchType;

    /**
     * 示证类型
     */
    @ApiModelProperty("示证类型")
    private String type;

    @ApiModelProperty("现场图片")
    private List<SysOss> sceneOss;

    @ApiModelProperty("现场视频")
    private List<SysOss> sceneVideo;

    private String relatedId;

    private String viewingType;

    private List<ViewingPersonVo> personData;

    private String applyDayNew;
}
